#include <crtdbg.h>
#include "Circle.h"
#include "Circle_r.h"

int main (int argc, char ** argv)
{
	void * pPoint, * pCircle;

	init_CircleClass();

	pPoint = new(Point, 3, 4);
	draw(pPoint);
	move(pPoint, 10, 20);
	draw(pPoint);
	delete(pPoint);

	pCircle = new(Circle, 4, 5, 20);
	draw(pCircle);
	pPoint = (POINT *) pCircle;
	draw(pPoint);
	move(pCircle, 10, 20);
	draw(pCircle);
	delete(pCircle);

	_CrtDumpMemoryLeaks();
	return 0;
}

